<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>弹出窗口</title>
    <link rel="stylesheet" type="text/css" href="../../themes/bootstrap/cetc54.ui.all.css">

</head>
<body>
<button class="button" onclick="$('#pal').uiDialog('open')">打开</button>
<button class="button" onclick="$('#pal').uiDialog('close')">关闭</button>
<div id="pal">
    <div>内容</div>
</div>
</body>
<script type="text/javascript" src="../../lib/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="../../release/cetc54.ui.all.js"></script>
<script>
    $(function () {
        $('#pal').uiDialog({
            icon: 'list',
            title: '面板测试',
            width: 400,
            height: 400,
            mask:true,
            onOpen: function () {
                var dialogContent=$('#pal').uiDialog('content');
                var width=dialogContent.width();
                var height=dialogContent.height();
                alert(width+','+height);
            }
        });
    })
</script>
</html>